package com.amos.boot;

import java.util.HashMap;
import java.util.Map;

/**
 * DESCRIPTION: TODO
 *
 * @author amos.wang
 * @date 2019/8/30
 */
public class MapMail {

    public static void main(String[] args) {
        Map<String, String> map = new HashMap<>();
        map.put("hello", "name");
        map.put("hi", "name");
        map.put("hei", "name");
        System.out.println(map.containsKey("hello"));
        System.out.println(map.containsValue("hello"));
        System.out.println(map.containsValue("name"));
    }

}
